/*点击日期更改样式*/
		$(".Traveltime").click(function() {
			this.parentNode.style.background = "red";
			this.style.color = "white";
			$(this).parent().siblings().css('background-color', 'white');
			$(this).parent().siblings().find('span').css('color', 'black');
			/*更改展示信息*/
		})
		window.onload = function() {
			var newCenter = map.setFitView();

		}
		var map = new AMap.Map('container', {
			resizeEnable: true,
			center: [116.397428, 39.90923],
			zoom: 13
		});

		map.clearMap();
		// 清除地图覆盖物

		var markers = [{
			icon: '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-1.png',
			position: [116.331398, 39.897445]
		}, {
			icon: '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-2.png',
			position: [116.368904, 39.913423]
		}, {
			icon: '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-3.png',
			position: [116.305467, 39.807761]
		}];

		// 添加一些分布不均的点到地图上,地图上添加三个点标记，作为参照
		markers.forEach(function(marker) {
			var b = "北京";
			var url = "http://api.map.baidu.com/geocoding/v3/?region=" + b +
				"&output=json" +
				"&ak=xxxxxxxx";
			new AMap.Marker({
				map: map,
				icon: marker.icon,
				position: [marker.position[0], marker.position[1]],
				offset: new AMap.Pixel(-13, -30)
			});
		});
		var center = map.getCenter();
